<!--
  Generated template for the ChioceAddressPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

	<ion-navbar>
		<ion-title>选择地址</ion-title>
		<ion-buttons end>
			<button ion-button (click)="openAddress()" style="color:#fff">
				管理
			</button>
		</ion-buttons>
	</ion-navbar>

</ion-header>


<ion-content >
	<div *ngIf="info == 1">
		<div *ngFor="let item of data">
			<div class="item" (click)="changeAddress(item.address_id)" >
				<div class="radio">
					<span [ngClass]="{'actived':check == item.address_id}" ></span>
				</div>
				<div class="body">
					<span>{{item.true_name}} {{item.mob_phone}}</span>
					<span>{{item.area_info}} {{item.address}}</span>
				</div>

			</div>
		</div>
		
	</div>
	<div *ngIf="info == 0">
		<div class="nothing">
			<div class="imgs">
				<img src="./assets/imgs/nothing.png" alt="">
			</div>
			<span>未查到地址，点击管理新建吧~~</span>
		</div>
	</div>
	

</ion-content>
